package com.itheima.test3;

public class Manager extends Person{
    @Override
    protected void body() {
        System.out.println("XXXXXXXXXX");
    }
    private String yearEndAwards;

    public String getYearEndAwards() {
        return yearEndAwards;
    }

    public void setYearEndAwards(String yearEndAwards) {
        this.yearEndAwards = yearEndAwards;
    }

    public Manager() {
    }

    public Manager(String id, String name, String age, String yearEndAwards) {
        super(id, name, age);
        this.yearEndAwards = yearEndAwards;
    }
}
